﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MDI.Master" AutoEventWireup="true" CodeBehind="frmClientes.aspx.cs" Inherits="CapaPresentacion.frmClientes" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="assets/js/cliente.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cuerpo" runat="server">
    <div class="row">

        <div class="col-lg-12">
            <ol class="breadcrumb">
                <li class="active"><i class="fa fa-dashboard"></i>Clientes</li>
            </ol>
        </div>
    </div>
    <div id="tabs">
        <ul>
            <li><a href="#tabs-1">Lista De Clientes</a></li>
            <li><a href="#tabs-2">Ingreso</a></li>
        </ul>
        <div id="tabs-1">
            <div class="row">
                <div class="col-lg-12">
                    <div class="panel panel-default">
                        <div class="table-responsive">
                            <table id="tbListCliente" class="table table-bordered table-hover tablesorter">
                                <thead>
                                    <tr>
                                        <th>Razon Social</th>
                                        <th>Ruc/DNI</th>
                                        <th>Tipo Cliente</th>
                                        <th>Telefono</th>
                                        <th>Dirección</th>
                                        <th>Email</th>
                                        <th>Estado</th>
                                        <th></th>
                                    </tr>
                                </thead>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div id="tabs-2">
            <div class="row">
                <div class="col-lg-12">
                    <div class="panel panel-default">
                        <form role="form" id="frmIngresoCliente">
                            <div class="panel-body">
                                <div style="display: non;">
                                    <input id="idCliente" />
                                </div>
                                <div class="col-lg-6">
                                    <div class="form-group">
                                        <label>Razon social </label>
                                        <input class="form-control" name="txtRazSocialCliente" id="txtRazSocialCliente" />
                                    </div>
                                </div>
                                <div class=" col-lg-2">
                                    <div class="form-group">
                                        <label>RUC/DNI</label>
                                        <input class="form-control" name="txtRucDni" id="txtRucDni" />
                                    </div>
                                </div>
                                <div class=" col-lg-2">
                                    <div class="form-group">
                                        <label>Tipo Cliente</label>
                                        <select id="txtTipCliente" class="form-control" name="txtTipCliente">
                                        </select>
                                    </div>
                                </div>
                                <div class=" col-lg-2">
                                    <div class="form-group">
                                        <label>Telefono</label>
                                        <input id="txtTelefono" class="form-control" name="txtTelefono" />
                                    </div>
                                </div>
                                <div class=" col-lg-6">
                                    <div class="form-group">
                                        <label>Dirección</label>
                                        <input id="txtDireccion" class="form-control" name="txtDireccion" />
                                    </div>
                                </div>
                                <div class=" col-lg-4">
                                    <div class="form-group">
                                        <label>Email</label>
                                        <input id="txtEmail" class="form-control" name="txtEmail" />
                                    </div>
                                </div>
                                <div class=" col-lg-2">
                                    <div class="form-group">
                                        <label>Estado</label>
                                        <select id="txtEstado" class="form-control" name="txtEstado">
                                            <option value="1">Activo</option>
                                            <option value="0">Inactivo</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="panel panel-default">
                                    <div class="col-lg-5"></div>
                                    <div class="panel-body col-lg-6">
                                        <button id="btnIngresar" type="button" class="btn btn-warning"><i class="fa fa-print"></i>Guardar </button>
                                        <button type="button" class="btn btn-danger"><i class="fa fa-chain-broken"></i>Cancelar </button>
                                    </div>
                                </div>
                            </div>
                        </form>

                    </div>
                </div>
                <div class="col-lg-12">
                    <div class="panel panel-default">
                        <div class="table-responsive">
                            <table id="TbListClientexAlmacen" class="table table-bordered table-hover tablesorter">
                                <thead>
                                    <tr>
                                        <th>Almacen ID</th>
                                        <th>Direccion</th>
                                        <th>Estado</th>
                                        <th></th>
                                    </tr>
                                </thead>
                            </table>
                        </div>
                        <div class="col-lg-8"></div>
                        <div class="panel-body col-lg-6">
                            <button type="button" class="btn btn-primary"><i class="fa fa-check"></i>Agregar Almacen </button>
                        </div>
                    </div>

                </div>
                <div class="modal fade" id="modalEditarAlmacen" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                    <div class="modal-dialog">
                        <div class="modal-content">
                            <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                                <h4 class="modal-title" id="H1">Editar Almacen</h4>
                            </div>
                            <div class="modal-body">
                                <div class="row">
                                    <form id="frmEditarAlmacen">
                                        <div class=" col-lg-12 hidden">
                                            <div class="form-group">
                                                <label>Id</label>
                                                <input id="idAlm" name="idAlm" class="form-control" onfocus="this.blur()" />
                                            </div>
                                        </div>
                                        <div class=" col-lg-12">
                                            <div class="form-group">
                                                <label>Direccion</label>
                                                <input id="dir" name="dir" class="form-control" />
                                            </div>
                                        </div>
                                        <div class=" col-lg-12">
                                            <div class="form-group">
                                                <label>Estado</label>
                                                <input id="est" name="est" class="form-control" />
                                            </div>
                                        </div>
                                    </form>
                                </div>
                            </div>
                            <div class="modal-footer">
                                <button type="button" class="btn btn-secundary" data-dismiss="modal">Cancelar</button>
                                <button id="btn_actualizar_almacen" type="button" class="btn btn-primary" data-dismiss="modal">Actualizar</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>

